const Router = require('koa-router')
const userFriend = new Router()

// 查询用户登录状态
userFriend.get('/getFriendList', require('./getFriendList'))
// 搜索好友
userFriend.get('/searchFriend', require('./addFriend/searchFriend'))
// 添加好友
userFriend.get('/applyFriend', require('./addFriend/applyFriend'))
// 获取好友申请列表
userFriend.get('/applyList', require('./addFriend/applyList'))
// 获取好友申请列表-我申请别人
userFriend.get('/myApplyList', require('./addFriend/myApplyList'))
// 同意or拒绝好友
userFriend.get('/agreeFriend', require('./addFriend/agreeFriend'))
// 昵称搜索好友
userFriend.get('/searchFriendByName', require('./addFriend/searchFriendByName'))

module.exports = userFriend
